package com.macrounion.atv.service.dto.resp;

public class UploadRespDto {
    private String path = "";
    private String failedValue = "";

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getFailedValue() {
        return failedValue;
    }

    public void setFailedValue(String failedValue) {
        this.failedValue = failedValue;
    }

    public static UploadRespDto success(String path){
        UploadRespDto resp = new UploadRespDto();
        resp.setPath(path);
        return resp;
    }

    public static UploadRespDto fail(String failedValue){
        UploadRespDto resp = new UploadRespDto();
        resp.setFailedValue(failedValue);
        return resp;
    }
}
